﻿<?xml version="1.0" encoding="utf-8" ?>
<validationMapping xmlns="urn:validationFramework-validationDefinition-1.5">
  <class 
    typeName="ExampleLibraryVB.Configuration.ConfigurationServiceExample+Person, ExampleLibraryVB">
    <property name="Name">
      <rule typeName="RequiredStringRule" initialValue="aaaa"/>
    </property>
    <property name="Age">
      <rule typeName="RangeRule" minimum="18" maximum="80" 
            errorMessage="Age is invalid" />
    </property>
    <method name="SetTheAge">
      <overloadType typeName="System.Int32"/>
      <parameter name="age">
        <rule typeName="RangeRule" minimum="18" maximum="80" 
              errorMessage="Age is invalid" />
      </parameter>
    </method>
  </class>
</validationMapping>